package test.inner.outer;

class Plan {
	public void run() {
		IA f = new IA()// 使用匿名类创建飞机实例
		{
			public void fly() {
				System.out.println("Plan is flying");
			}
		};
		f.fly();
	}
	
	public static void main(String[] args) {
		new Plan().run();
	}
}
